SI-8924 No outer ref in LinearSeq iterator

The iterator for `LinearSeqLike` holds an outer pointer via
the call to `newBuilder`, which is used to empty the underlying
sequence on `toList`.

A better strategy is to use `these take 0` to create the empty
`Seq`.  We can rely on `take 0` to mean the empty `Repr`.

The unit test confirms that a weak reference to the sequence
is collectable after `seq.iterator.toList`.
Thanks for your feedback!  The success case completes long before out of memory.  It's true that if it fails, it is not a good JVM citizen. An alternative would be for the queue.remove loop to check for heap growth, since by then you can assume failure and not wait to actually OOM.