After a poor start, Rory McIlroy made three consecutive birdies to surge back up the leaderboard at the Canadian Open.