when did south carolina come back to the union