South Korean court tells cheating husband he must stay married