[CPML] Added equality method for pairs and extents