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