Fix `CompositeExpression#add()` optimization, which was leading to bbroken `CompositeExpression` instances