fix: must not reduce `ite` in the discriminant of match-expression when reducibility setting is `.reducible`

closes #5388
5 files changed