Glenn Phillips hit a fighting half-century whereas Lockie Ferguson wrecked Ireland with a four-wicket haul