sequences: improve change-nth, if nth was successful, set-nth can be unsafe.
sequences: improve change-nth, if nth was successful, set-nth can be unsafe.

bjourne/factor,tgunr/factor,bjourne/factor,bjourne/factor,slavapestov/factor,mrjbq7/factor,mrjbq7/factor,dch/factor,AlexIljin/factor,dch/factor,bjourne/factor,AlexIljin/factor,mrjbq7/factor,nicolas-p/factor,bpollack/factor,tgunr/factor,factor/factor,slavapestov/factor,dch/factor,dch/factor,sarvex/factor-lang,slavapestov/factor,nicolas-p/factor,AlexIljin/factor,AlexIljin/factor,bpollack/factor,factor/factor,mrjbq7/factor,factor/factor,bpollack/factor,nicolas-p/factor,bpollack/factor,nicolas-p/factor,bpollack/factor,mrjbq7/factor,bpollack/factor,slavapestov/factor,factor/factor,bjourne/factor,AlexIljin/factor,sarvex/factor-lang,sarvex/factor-lang,AlexIljin/factor,bjourne/factor,sarvex/factor-lang,AlexIljin/factor,dch/factor,slavapestov/factor,sarvex/factor-lang,tgunr/factor,sarvex/factor-lang,tgunr/factor,slavapestov/factor,nicolas-p/factor,sarvex/factor-lang,nicolas-p/factor,tgunr/factor,factor/factor,bpollack/factor,factor/factor,mrjbq7/factor,nicolas-p/factor,dch/factor,slavapestov/factor,tgunr/factor,bjourne/factor