India’s warm foreign relations with some Muslim states may have prevented youngsters from joining ISIS ranks.