Earlier on Tuesday, Novak Djokovic revealed that he had contemplated retiring from the quarterfinal match at the time of injury