sheep: delete cache objects only when they are successfully pushed

When object_cache_flush_vdi() fails, it is safe to keep the cache
objects and return the error code to the user.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>