In an election year, the furor over what was viewed as a cushy “golden parachute” had lawmakers doing an abrupt about-face.