Democrats were split on the vote, with some wanting to use it as leverage to fight Department of Government Efficiency cuts.