[EarlyCSE] recognize commuted and swapped variants of min/max as equivalent (PR35642)
As shown in:
...we can have different forms of min/max, so we should recognize those here in EarlyCSE
similar to how we already handle binops and compares that can commute.
Differential Revision: https://reviews.llvm.org/D41136