Speed up calculate_unique_transcript_sequence.

Still painfully slow, but 2-3 times faster than it was before. For me, takes
~40 mins for transcripts of all human protein coding genes.