A group of 25 states sued the Department of Education, saying that the student-loan borrowing caps would exacerbate the healthcare shortage.