Ethiopia’s government foiled a coup attempt in a region north of the capital, Addis Ababa, and the country’s military chief was shot dead, the prime