Juvenile accused should undergo rehabilitation: SC