The judge said the plan would hinder the agency’s ability to respond to disasters.