Fix the symbol garbage collector.

Take possible reductions into account.