The International Criminal Court confirmed that its chief prosecutor, Karim Khan, will step down pending the results of an investigation into allegations against him.