State equal pay act survives the Senate