If the US goes to war with Pakistan, we would also have India on our side. Pakistan and India do not get along and Pakistan itself is very mistrustful of India and the US.
As for an actual war, I really doubt that the US would ever deploy troops in Pakistan. There just isn't any point as they...