Novak Djokovic overcame American Sebastian Korda in their rescheduled match to reach the semi-finals of the Miami Open.