Moved checking of iterator traits/countability outside VectorImpl.