California could reshape marijuana rules as nation’s biggest legal market struggles