South Korea's education minister resigned amid an AI cheating scandal ahead of university entrance exams.