mrp_resource_native: Improve removal of a res_set when updating

Remove the res_set only after the new resource set has been copied