Simplify implementation of var-info-path-expression

Get rid of the getExpression method from Assignment and Value