After seeing a six-shot lead erased on Saturday, McIlroy still found a way to secure his second green jacket.