States like Minnesota and North Dakota are out millions of dollars in federal funding expected to cover costs of purchasing local foods for schools.