Tesla settles suit against ex-Autopilot chief who formed startup