ROME — President Trump is expected to publicly endorse NATO’s mutual defense commitment at a ceremony May 25 at the alliance’s headquarters, an administration official said, breaking months of silence about whether the United States would automatically come to the defense of an ally under attack.