It was the second time in the past four Slams that Djokovic needed to abandon his spot in the latter stages of the bracket