Trump administration will partially restore food benefit funding after judges’ ruling