The cuts almost entirely affect Democratic-led states as the two parties fight over the shutdown of the federal government.