heaps: fix slurp-heap to allow modifying the heap while slurping.
heaps: fix docs for slurp-heap.