How did the conflict over states' rights contribute to the outbreak of the Civil War?