US court gives Somali pirates life for Oman attack