A district judge temporarily restored teacher preparation grants that were axed by the Trump administration in February.