Proof for kvl_sorted_after_replace_head_with_zero.