Uber seeks to avoid self-driving car court trial with rival