IS attack kills eight in Afghan capital