OAK-1266 - fix retry to not fail when the document has been changed by a different node

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1597608 13f79535-47bb-0310-9956-ffa450edef68