ISI sees Islamist militants, not India, as main threat to Pak