Fix minmax_element(RandomAccessIterator version)