mlr_terminators_stagnation_batch function

Terminator that stops when optimization does not improve