Use algorithm while removing index with db:rollback
#24199

meinac wants to merge meinac:fix_invert_add_index into rails:master

We do not currently have an analysis of these two commits