NTSB: Self-driving Uber involved in deadly crash had software flaws