MB-8911: CAPI side resolution algorithm change for deletion

Since 2.2, ep_engine changes the resolution algorithm for deletion.
To be consistent, CAPI mode replication should also adopt the same
algorithm.

Actually ep_engine will do their resolution in deleteWithMeta(),
here we put another defense line (the second getMeta before writing
doc locally) in CAPI just for safety and performance reasons.

Change-Id: I008e41b7dced21ee76e0b1e71bfd0d68b6f972d1
Reviewed-on: http://review.couchbase.org/28446
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>