More structure-sharing optimizations for IntMap and IntSet.