Remove the intermediate primary node by migrating it