Fix EZP-22912: Criterion\MapLocationDistance returning empty results with big values

This PR resolves issue https://jira.ez.no/browse/EZP-22912

The problem comes from the bug in bounding box coordinates calculation, where inclusion of the pole produced `NaN` for the longitude delta. This fixes the bounding box calculation, but Pythagorean formula used in Legacy Storage Search is still imprecise for big distances and in polar regions.

Solr Storage Search does not suffer from this problem as it uses Solr's own geo engine.