Rory McIlroy bemoans legal wrangles that have been distractions all season