South Korean President Yoon Suk-yeol, who stunned the world by declaring martial law, avoided impeachment as his party's lawmakers boycotted the vote.