The mountain standoff lasted weeks and at times involved tense shoving-and-shouting matches, according to Indian border-patrol troopers who participated. Both armies called in helicopters. The scale and duration of the clash are signs of mounting friction between the world’s two most-populous countries.