An extraordinary rebuke to the federal government’s campaign against elite schools, the ruling could upend settlement talks with the university system.