[ConstraintElim] Keep the operands of replaced overflow intrinsics (#244673)
replaceOverflowUses replaces the operands of a simplified
add/sub.with.overflow and of its dead extracts with poison, so that the
intrinsic becomes use-empty. In an earlier PR, this caused a miscompile
as the older facts along with modified facts post-poisoning were
evaluated together.
Removal is deferred to the end of the pass, because the worklist may
still hold Uses of the intrinsic's operands, so the poison is not
needed. Keep the operands, and remove the intrinsic once only its dead
extracts use it.
Facts queued for the intrinsic before it is replaced then remain valid,
and later checks of uses of its operands are no longer skipped.