With the deadline to fund the government looming, dozens of House Republicans voted against a Trump-backed plan.