Eliminate redundant seq's (Trac #8900)