Had Mr. Trump not intervened in a timely way and “decisively, the consequences of a full-fledged war would have been catastrophic, Shehbaz Sharif said