SERVER-15580 KeepMutationsStage shouldn't deref invalidated iterator

(cherry picked from commit e1ef3e6371f59c6a6396e78b2a4c4d9a975e9396)