run REPACK after deleting features (fixes #8317)