As Uber Prepares to Go Public, Its Lead Lawyer Races to Clean It Up