As discovered in ZBX-8095, in zbx_binary_heap_remove_direct() function, we should not only try bubbling the replacement element down, but we should also try bubbling it up.