The European economy is dancing on a knife’s edge in its efforts to arrest consumer-level inflation without ushering in a recession, the International Monetary Fund said Friday.