Under siege, Somalia moves to reform its army, pay troops