fixed bug in wiz optimizer for expressions made up of commutative
operators whose operands were ALL foldable