fix ES6IteratorSeq so it correctly caches rest