Fix bug in fast-stop condition in selection.

An equal span was being found that was intended to speed up the case
where we have many equal elements. However, we weren't using the center,
but the left side, so if several equal elements were on the left, it
could cause a correctness issue.
Merge remote-tracking branch 'tixxit/bug/select-equal-span' into 2.10.0