U.S.: Afghan strike killed terrorists, civilians