Djokovic gets better of De Minaur in longest rally of tournament