Fix heapStreamWith*

The heap property guarantees that i <= j.