Fixed the bug that removed the related resource triples from triplestore index when a related resource is updated.

https://jira.duraspace.org/browse/FCREPO-1234