A diplomatic offensive by the Sudanese president has endangered the ICC’s charges against him, writes Simon Tisdall.