Although local Republicans consistently urged his removal, the GOP’s House leadership just as consistently protected him, hoping to preserve the party’s narrow four-seat majority.