Simplify script to remove backup refs
The names of the backup refs and tags could change. Let's just delete them all using git-for-each-ref instead of listing them explicitly.