[InstCombine] Fix infinite loop in #67273

Closes #67783.

GitOrigin-RevId: e9cb50a1e351e90be1a8e4ac1a4564cfc44a984b
2 files changed