A federal judge has ruled that the Trump administration's plan to cut staffing at FEMA by 50% was unlawful