In purely operational terms, it sounds on the face of it to be a decent fit. Aer Lingus offer a network which is mostly complimentary to IAG (British Airways).
Presumably BA, will shift the slots it currently uses from LHR to DUB & BHD onto other routes allowing new services to open and move Ireland bound passengers onto EI flights and IAG gets a hub in DUB.