Somalia hails the UN mission's closure as a milestone amid political tensions and cuts to international support.