Fix PR 22541: When values are equal, minmax should return the rightmost one in the initializer_list

llvm-svn: 228839
2 files changed