Cheick Modibo Diarra, Mali’s prime minister, has resigned on state television, hours after being arrested by soldiers who were behind…