The U.S. military says it carried out a lethal strike on a vessel in the eastern Pacific, killing four people.