Trump shifted from bashing allies over Iran to praising NATO unity, while licensing Ukraine to build Patriot missiles and securing U.S. ties.