[InstCombine] reduce code duplication; NFC

GitOrigin-RevId: 97755ab1c67f01031d1f2e1a972b00c76841f6f8
1 file changed