The US military says it has carried out its deadliest strike in Somalia since November 2017.