Department of Homeland Security Secretary Jeh Johnson warned Tuesday that the United States is entering a “new phase” of threats from terrorism, as the so-called Islamic State and other groups gain ground in the Middle East and spread their message online in increasingly sophisticated ways.