Rory McIlroy hacked his way to a double-bogey six at the eighth during the second round of the Arnold Palmer Invitational after taking three blows to hack his way out of the rough.