ogr provider: move REPACK into createSpatialIndex.  Don't REPACK in deleteFeatures as there might still be pending changes that depend on the current feature ids (fixes #7472)