[NVFuser] make comparators obey strict weak ordering
Internally there is an at-runtime assert that was failing. The assert is checking to make sure that comparators obey strict weak ordering
https://en.cppreference.com/w/cpp/named_req/Compare
In particular `comp(a, a) == false` was failing.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75713
Approved by: https://github.com/jjsjann123, https://github.com/csarofeen