Invert the bit of type-selection logic in resource_del() to match the other functions.
Invert the bit of type-selection logic in resource_del() to match the other
functions.

AFAICT, this still did succeeded and failed in the right places, but
deeper down and with less appropriate error messages.

Signed-off-by: Dan Smith <787803eb1755f35291827d0f0268aa9bc7a57464@us.ibm.com>

libvirt/libvirt-cim,libvirt/libvirt-cim,libvirt/libvirt-cim