A judge granted a preliminary injunction late Friday in the city of Chicago's lawsuit against the Trump administration over the holdup in giving out emergency preparedness funding.