Remove 3-tuple variants of 'and' and 'or'.