Ivory Coast exit despite win