Security chief of South Korea’s impeached president resigns