A South Korean former deputy director of the National Intelligence Service testified he had been ordered to arrest politicians, contradicting President Yoon's denial.