It's all posturing unfortunately, but whether the President is doing it unknowingly Allahu aclam - he has shown political naivety in the past. The mercenary force know as Al Shabaab have a purpose in the Horn, just like all the others stationed around the world. If somehow he manages to suppress this group, there'll just be another AL group to replace them.
It's a curse.