An election bill moving through the Republican-led Legislature would rewrite the rules for a single race: the looming battle against Senator Jon Tester, a Democrat.