Pakistan’s intelligence chief visits Afghanistan’s capital