The Islamic State group’s growing presence in Somalia could become a “significant threat” if it attracts fighters fleeing collapsing strongholds in Syria and Iraq, experts say, and already it seems to be influencing local al-Shabab extremists to adopt tactics like beheadings.