Last-turn pass gives Newgarden IndyCar win at Texas