Parse and desugar equational constraints