The Iran war is forcing India to confront the tension between strategic autonomy and its commitment to the Indo-Pacific framework.