The ruling said Florida’s law was unconstitutional and wrongly tried to ban the speech of professors and students.