UNITED NATIONS — President Barack Obama on Tuesday used his final address before the United Nations to praise global integration and warn against the impulse to shut it out, calling on Americans and foreigners to tear down walls, not build them. In a sweeping address that touched on the world’s trouble spots — including the 5-year-old…