Which pre-war compromise or Supreme Court Decision allowed California to join the Union as a free state?