After a new state law led universities to cut or merge hundreds of degree programs, teachers and parents worry about the impact on the teacher shortage.