Fix: PE: Delete the old resource state on every node whenever the resource type is changed

Do this even if the resource is not active on a node currently,
otherwise the next start op on the node will be injected into the old
lrm_resource entry.
Test: PE: Delete the old resource state on every node whenever the resource type is changed (update regression tests)