A deadly blast on the outskirts of Aleppo has overshadowed efforts to swap thousands of civilians and fighters in Syria.