Militants stormed an intelligence agency training facility in Kabul, officials say, triggering intense fighting with police in the latest Islamic State group attack to hit the Afghan capital.