Collision dynamics of bubble pairs moving through a perfect liquid