ReplicatedPG:: s/_delete_head/_delete_oid, adjust head_exists iff is_hea...

...d

Fixes: #7872
Signed-off-by: Samuel Just <sam.just@inktank.com>