Add a new utility function SimplifyICmpOperands. Much of this code is