The rulings came a day before the Department of Agriculture planned to freeze payments to the Supplemental Nutrition Assistance Program.