I propose declaring seagoing Somalis an outlaw group. Allow no Somali craft of any size to put to sea.
To accomplish that end, sail into Somali harbors and sink all boats and ships found there. Destroy everything larger than a surfboard or kayak. Problem solved.