Fix copy-paste error in ImmSet::toSet

Fixes #231