Former Ireland international Boyd Rankin has been added to the England squad for the two remaining one-day internationals against New Zealand.