prune redundant transforms in transform sequences.