Pedrosa himself said in the post-race press conference and other interviews (I saw one on Crash.net) that he ran the bike wide after overtaking Marquez, which is how Marc was able to get back in front of him so easily. Dani also said that he missed a gear on the last lap, which put him even further behind.