#2950: Simplify symbol comparison (use only calculated hash value). Run simplification in a loop (successive simplification steps until no more changes).