Somalia had to waive UNCLOS sovereignty to allow international assistance against pirates