Provide "trimToSize" methods on MapPointer, Internals, and OWLAxiomIndexImpl

Can save a couple of percentage points, and leaves an opening of switching the implementation of the backing sets to a packed format if the methods are called when the data structures are about to become quiescent.