move smallestOneToOneIndex to CollectionBase, uassert if a partitioned collection is also capped