Rory McIlroy quit social media after a heated Twitter exchange with a former major champion