fix AssignmentExpression terms in expandTermTreeToFinal