s3:registry: wrap reg_deletekey() into a transaction