Removed conditional imports in search_indexes.

It was not really needed because those are only imported if haystack is configured.