Somalia 's central government , fighting an Islamist insurgency , lacks the power and resources to combat piracy .