ISI DG meets Tajik president, vows to jointly fight terror