A group of House Republicans planning Senate campaigns next year took different bets on a bill in Congress ending a government shutdown and avoiding a default. For some, a general election loomed large while for others, the vote was a matter of competing for conservative primary voters.