Text this: Tractable constraints closed under a binary operation