Protests as South Korea president resists arrest