blackbox/dbcheck.sh: fix dbcheck_fix_one_way_links cleanup