For some time, senior military officials have been concentrating on rooting out terrorism at home, and they have scored some impressive successes. But recent base-building activity by India near its border with Pakistan has been raising red flags in Islamabad.