Defense Secretary Jim Mattis sought Saturday to reassure jittery allies in the Pacific about President Trump’s nationalist agenda while also delivering a speech that cast North Korea as an urgent military threat and called China out for its military actions in the South China Sea.