Trump ‘failed to consider the harms’ on SNAP benefits by withholding food aid during shutdown, judge rules