Pakistan eye quarter-final after dismissing Ireland for 237