Rory McIlroy rescued a frustrating third round at the BMW PGA Championship with a stunning eagle on the 18th hole at Wentworth, leaving him just two shots off the lead heading into Sunday's final round.