Rory McIlroy has spoken about the need to escape from golf - as he controversially did last week even though a world championship was being played.