A massive U.S. port strike was averted — and the union credits Trump