Split HashTable out into mutable and immutable kinds.

There are some inference problems making the marketplace tests fail. I'll need same help fixing that up.
Why does this take in a mutable-set and destructively mutate it? No current call site uses that.