Country had been training terrorists in past: Asif