Do not save already destroyed pg_search_document

This can happen in case of complex associations and callbacks, when
destroying associated objects results in model.save being called from
after_destroy hook.

Fix and spec for it are provided.