This prevents situations where explicit results types were provided, which have different types than the operation being replaced. This is useful for supporting dialect conversion, which will have proper support added in a followup. Differential Revision: https://reviews.llvm.org/D133141