Eight civilians were killed in a US attack at a farm near the Syrian border with Iraq, officials have said.