Perhaps cautious about upsetting already strained relations with Mr. Trump, many nations abstained from commenting directly or pointedly on the joint strikes but condemned Tehran's retaliation