update remove-redundant-transcripts

reformat code