British soldiers teaching skills learnt in Afghanistan to Somali soldiers fighting one of the world’s most feared terrorist groups has been hailed as a success.