mlr_terminators_stagnation function

Terminator that stops when optimization does not improve