Waymo accepts $313m and Uber's 'regret' to settle self-driving car dispute