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