Former South Korean president pardoned after being sentenced to 17 years in prison