Military visit: Pakistan accuses Kabul of ‘overreaction’