Decision follows Senate vote to reopen government, but legal saga brought uncertainty to millions who need food aid.