Bugfix deadlock in fix refinement

There was rare deadlock due to MPI tags getting unpaired after domain expansion on the left side followed by refinement. This PR fixes it in crude way.