Duterte to leave the ICC