Remove unnecessary call of DenseMap::clear.

It should be always true that _liveAtoms is empty, so we don't have to clear it.
Add an assert() instead.