The US military said it carried out strikes on two boats in the eastern Pacific suspected of drug smuggling, killing five people and leaving one survivor.