It would be better for EI to use a A350 on a daily DUB - JFK flight insted of using an A330 twice daily. It would same a lot of money for EI.
But the 2 flights a day, which are 6 hrs or so apart, facilitates a massive number of transfer passengers which EI are actively chasing.