Why was it so important and so difficult to reach a lasting compromise on the issue of slavery in the western territories?