Ivory Coast prime minister resigns