Rory McIlroy confirms he will miss British Open because of left ankle injury.