England's Ashes narrowly avoided defeat against Ireland