Troops capable of defeating threats ‘irrespective of the front’: COAS