European Union leaders agreed Tuesday to name Frenchwoman Christine Lagarde as the new head of the European Central Bank and sealed a deal on filling the other four top jobs in the bloc after tortuous marathon talks exposed their deepening divisions.