Reps agree to include consensus candidate clause in electoral bill