What was one of the consequences for the supreme court that resulted in the defeat of the confederacy during the civil war?