Improve idiom in compare-seqs.