Major simplification of localsearch.TreePopulation.