The decision effectively reverses former President Donald Trump’s move in January 2021 to withdraw hundreds of US troops operating in Somalia.