Jim Mattis warned of "a response both effective and overwhelming" if North Korea threatened the U.S. or allies.