Did the Thirteeth Amendment help achieve a Civil War goal