How was a temporary compromise reached on the issues of slavery?