Fix a crash when leaving channels

Removing nicks was causing the hash to rehash and mess up
the iterator, so I had to do everything in removeAllNicks
with erase, which won't cause the it to rehash.