Statistical framework for terminating evolutionary algorithms at their steady state