The government failed to ensure states could quickly send out partial benefits, leading to preventable delays that are leaving millions of families hungry, judge says