US forces have been accused of killing 22 Somali troops in what is said to be a misdirected airstrike in the country’s northern regions.