Two days after nonprofit groups sued the federal government over a stop-work order targeting programs that provide information and guidance to people facing deportation, the U.S. Justice Department reversed course and ordered that funding to the programs be restored.