Fix minmax_element's Complexity(RandomAccessIterator version)