Well said! If fighting terror by weapons was the only way out, Israel would have defeated terrorism since a long time.
But the two (fighting terror and engaging in political process) need not be mutually exclusive. You do not have to not share information, procure sophisticated equipments etc. before engaging in political process. Being weak, undertrained, underinformed, would help neither deter/block terrorists nor support political process.
Same with India working together with Israel and also with Pakistan. Terrorism is a common threat to all of them. The more they cooperate, the better. However old issues like Dawood Ibrahim and new ones like the mismatch in expectations over the 26/11 help would make any development on this front quite difficult.