The bipartisan vote for continuing funding for the federal government was able to survive an uprising by House speaker Mike Johnson’s right wing.