The USDA’s planned suspension of November benefits was based on the agency’s “erroneous conclusion” that it could not use contingency funds, the Massachusetts federal judge said.