don't use std::set to track used keys

In fact, don't bother duplicating keys, it's much more convenient to just zap
the whole thing with an munmap(). Let the caller own their keys.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>