In hearings that extended past midnight, the session’s highest-priority election reform bill moved closer to passage but is still racing against upcoming deadlines.