Why was it important to keep a balance of power between slave and free states?