XWIKI-9551: When you delete a user from the main wiki it is not deleted from the subwiki groups

(cherry picked from commit cad0d7d15df749d2b5d029a5b987f64d8a2f9016)