[subset] Fix fuzzer found memory leak.

Happens because an insert into a map with an invalid key reports successful, but this causes the set being inserted to be lost.
2 files changed