Fixed InvertBasicExpressionVisitor bugs with subtractions and divisions