Work around leak in boost flat_set

Summary: This is very likely to be the memory leak reported to be new in
HHVM 3.4. See code comment and linked GitHub issue for full explanation.

Fixes https://github.com/facebook/hhvm/issues/4268

{sync, type="child", parent="internal", parentrevid="1736543", parentrevfbid="1584241511789266", parentdiffid="5935230"}

Reviewed By: @paulbiss

Differential Revision: D1736543