Forbid PUT and DELETE of same item in batch write

Change-Id: I70dba3ef29ba6b7f6261d19131922cdb8f202421
Fixes-bug: 1308388