PE: Ensure stop ops happen before cancelations
Doing the cancelation first (which results in the op being deleted) could result
in the PE forgetting that it needed to stop the resource in the first place.
Seen in ResourceRecover tests.
Mercurial revision: 6ee48914641fc310a8ef8238d32930792e5828fe