fibheap: fix bug in sending null when fibonacci step finished

If signal sent on a wrong place, app crashed due to nullptr dereference.
I rearranged signal placement, so that GUI never sees nullptr as the
heap minimum except for one and only case when the heap was correctly
emptied and the algorithm is in its last phase