IR: Remove an invalid assertion when replacing resolved operands