[InstCombine] add test for mask op with constant expression; NFC
This is reduced from the post-commit C example in:
afa192cf
That was reverted with:
6fedc6a2
This will infinite loop unless that transform or the ones
with casts that can "EvaluateInDifferentType" are limited
to ignore constant expressions.