xbps-rindex: redo the clean mode in two passes as it was intended in previous commit.