US added a surprising 228,000 jobs last month, as the American economy shows resilience amid Trump’s trade wars.