Rory McIlroy criticised Bryson DeChambeau's actions at The Open, where DeChambeau received a penalty for improving his lie.