AST: Fixed FP in isSameExpression when there are different casts