Connecticut’s two senators, both Democrats, said they planned to vote “no” on a Republican House spending bill.