Self-driving vehicles should not make the same errors or dumb decisions as human motorists. They should not speed. They will not drive drunk. They cannot succumb to distractions.
In terms of preventing crashes and eradicating a scourge of traffic deaths, that should be the easy stuff.