Fighters capture districts in neighbouring provinces after being ousted from citys centre by coalition-backed troops.