'Well, I would. I get along with Pakistan, as you know, very well,' US president says amid deadly clashes between neighboring countries