extensive cleanup of find_repeat_expanding_digests.py (renamed from repeat_link_trans