XWIKI-10996: Wiki ids cache is clear each time a document is deleted or modified

(cherry picked from commit d3b50d9beaca351b53a6d5298126624a80bf8325)