Refactor handling of non-existent local index
Refactor handling of non-existent local index

We take advantage of the new `LocalIndex.exists()` method to avoid running an offline request when the index does not exist locally (unless we explicitly target it). As a consequence, we no longer need to treat a 404 status code specially in the offline result handler.

algoliareadmebot/algoliasearch-client-swift,algolia/algoliasearch-client-swift,algoliareadmebot/algoliasearch-client-swift,algoliareadmebot/algoliasearch-client-swift,algolia/algoliasearch-client-swift