Djokovic ‘shakes rust off’ to make third round of Shanghai Masters