dcadec: simplify an expression.