SERVER-9474 always run through the entire batch-building loop at least once per batch

Because we now run through the loop once with an empty op queue, we will always
do the stuff in "occasionally check some things" at least once per batch.  This
fixes SERVER-9474, where if you had a steady stream of writes, your node in
RECOVERING would never transition to SECONDARY until you caught up completely.