European leaders agreed on a permanent rescue fund for the euro zone and 25 of the 27 EU states backed a German-inspired pact for stricter budget discipline, but they struggled to reconcile fiscal austerity with economic growth.