Not really. Your hypothetical pact with Pakistan is like India having a hypothetical pact with either Japan or the US.
A notional Indo-US/Japan pact (which
de facto exists since India and the US have agreed to cooperate in many aspects of military operations, including joint base use) shares a common theme with the Indo-Bhutanese agreement: that is, one party could call upon the military of the other in times of need. India's military deployment (supposedly heeding to Bhutan's requests, although this was never explicitly confirmed) is testament to this.
You again fail to understand that India's stand on Kashmir is absolutely clear. It is Indian territory. China entering into an agreement with Pakistan (irrespective of the wording of your agreement) is a direct attack on Indian strategic interests.
A direct attack would be a Chinese military incursion into Kashmir to block Indian operations, much like what India did in the Doklam region. India's decision to intrude into sovereign territory is neither an equivalent nor excusable "response" to alleged Chinese support of Pakistan in the Kashmir issue. By your logic, India should expect a Chinese military incursion every single time New Delhi voices its intent to cooperate with the United States.
Geopolitics doesn't work that way and there is no doubt that New Delhi is beginning to realize its miscalculation in this arena.
Doklam is disputed territory. Its not Chinese territory. China is in violation of agreements with the Bhutanese for the same. The road building is a complete military project which is very evident from the type of road being built. There is a saying, there is a very small difference between intent and capability and we do not see it in our strategic interest for you to have the capability in that areas, especially since it is disputed territory.
Whether the region is "Chinese territory" or not isn't for you to decide, as the history behind the dispute has its roots all the way back in 1890. The dispute is solely between Thimphu and Beijing; New Delhi has no legitimate say regarding the veracity of each party's claim no matter how close it tries to side with Bhutan. The road may have been military-sponsored but the construction did not violate any neutral ground or pre-existing agreements, unlike the subsequent Indian actions that followed.
What India has done is to essentially have turned a third-party non-military dispute into a military confrontation, which involves a country and territory in which India has zero jurisdiction. Your leaders are merely beginning to register the extent of their miscalculation and sinking legitimacy thereof.
China and its media can talk about it all you want. But, there is only one answer from India. If it is not in our strategic interests, we will act. And if China wants to act, it can. But stop playing out warnings from your state controlled media. We are bored of your warnings. As for our actions, Better get used to it.
Nobody doubts that India "acted" in this dispute. Unfortunately for your government, it has stuck its hand into a hornet's nest that is now threatening to sting back. No matter how much your media and leaders spin the story, India is beginning to realize that its military incursion was illegitimate, that it has severely overplayed its hand, and (perhaps the most bitter revelation) that nobody is going to bat an eye when New Delhi is confronted by a military that is willing to fight back.
India can no longer maintain its veneer of being a "victim" of Chinese expansionism, as its actions clearly mirror those who New Delhi claims to be counteracting. India needs to get used to the reality that their gamble failed and that unilateral actions have their commensurate consequences.