The written order came one day after a court told the Trump administration it must pay benefits in the program known as SNAP during the shutdown.