Diane Lanpher and Mike McCarthy, leaders of the chamber’s appropriations and government operations committees, lost their reelection bids Tuesday as Republicans cut into the Democratic supermajority.