xbps-rindex: fix clean mode while removing obsolete entries on index-files with updates.