idempotent remove patch operation