California admitted as 31st state, without slavery