Not generate redundant self-assignment statement

To avoid generate statement like "var_1 = var_1;"