‘Ghost soldiers’ to blame for Afghan government’s quick defeat – ex-minister