Rory McIlroy cut a much happier figure after a closing, bogey-free 65 secured him a top 10 finish in the WGC-Cadillac Championship at Doral.