terminate take as soon as there are enough values

This is for https://github.com/jlongster/transducers.js/issues/9