Pakistan President cautions against imposition of war