[MergeICmps] Make base ordering really deterministic.
The idea is that we now manipulate bases through a unsigned BaseID based on
order of appearance in the comparison chain rather than through the Value*.
Subscribers: mgrang, jfb, jdoerfert, llvm-commits, hans
Differential Revision: https://reviews.llvm.org/D58274