The president praised Pakistan’s responsible stance and its efforts to reduce tensions and advance diplomatic initiatives in the region.