Washington said its decision was due the government’s lack of progress in containing the al-Shabaab group or in taking ownership of its own security.