Rory McIlroy birdied the seventh hole following an exquisite approach shot during the final round of the BMW PGA Championship.