This adds the necessary support to OrderedInstructions to be able to start replacing the O(N) dominates(instruction, {use, instruction}) queries.
This is going to be a long slog because we'll have to pass it along to
a bunch of stuff to keep it up to date in utilities
I'll likely convert it to an analysis along the way, it's currently a utility.
Convert NaryReassociate to OrderedInstructions
Make PredicateInfo use it as well.
These will be committed as separate patches, they are just examples.