Refactor: scheduler: check for dangling migration before setting role
Previously, unpack_migrate_to_success() set rsc->role = RSC_ROLE_STARTED
then checked for dangling migration, which would reset it to RSC_ROLE_STOPPED.
For clarity, do the dangling migration check first.