Rory McIlroy kept his WGC Match Play hopes alive with victory over Lanto Griffin and remained optimistic about recapturing his best form under new swing coach Pete Cowen.