South Korea coach resigns after presidential criticism