The judge's order requires the Trump administration to reinstate terminated CFPB employees among other steps.