The Syrian army recaptures the only road route into the government-held side of Aleppo, after driving back Islamic State militants, state media say.