Two men have been killed when the US military launched a strike on an alleged drug-trafficking boat in the Pacific Ocean.