Djokovic into US Open semis as Tsonga retires