Simplify find_mergesort_interval a bit.