How the idea of popular sovereignty relieved some of the tension created by the debate over slavery in the territories