Fix merge sorter using too much memory in internal reporting. Fixes #71.

Checking if the number of items pushed is within the internal report
threshold is not sufficient: it might be necessary to resize the
internal item buffer to fit in the memory requirements for the
subsequent phases.