streams/coalesce: proper use of transients

Lazily mapping back to persistent data structures allowed multiple
threads to use the transients. Closes #147