The Trump administration has appealed a judge’s ruling finding the White House had not fully followed his order to unfreeze federal spending.