The nation’s top court unanimously upheld the impeachment of Yoon Suk Yeol, clearing the way for the election of a new president.