South Korea's ruling party leader resigns following president's impeachment