Low: libpe_status: handle pending migrations correctly
This is mainly a refactor of unpack_rsc_migration() for readability.
The one significant change is that previously, a migrate_from operation that
was *recorded* as pending (record-pending=true) was treated differently from an
unrecorded pending migrate_from (record-pending=false).