Avoid generating redundant operations when manipulating masks: AND with true, OR with false, compare equal to true. Model all-one masks as a null (no-mask) following the convention for masked gathers and scatters.
These redundant operations get eliminated by subsequent passes. This patch is preparing for a follow-up VPlan patch in which these operations are modeled using recipes.