Senators approved the measure in a 17-13 vote Thursday following a spirited debate that fell largely on party lines. Republicans say it will expose businesses to the potential for expensive lawsuits and require them to keep cumbersome paperwork to justify their salary decisions.