The European Union and the International Monetary Fund are hammering out details of an emergency funding package for Ireland. Officials in Dublin resisted outside help for weeks, but on Sunday agreed to a three-year bailout package to keep their banks and their government from failing.