South Carolina to remove Confederate flag