The US military said it knocked down an Iranian ballistic missile attack against American forces in the Middle East, shattering a brief pause in the fighting as mediators tried to get both sides back to negotiations.