line-simplification: Fix incorrect comparison in MinHeap implementation.