In a move that could presage lower auto insurance premiums for many of California’s 23 million drivers, the state’s fourth-largest provider has agreed to base its rates on how safely and how much its customers drive rather than primarily on where they live.