Modi’s embrace of Muttaqi shows pragmatism can override principle when a shared adversary emerges. But this experiment is fraught with danger.