[mcs] Don't wrap enum constants during folding when result is reduced
[mcs] Add more checks to dynamic logical operations when lhs is not of dynamic type