Revert "Improve performance of TopicModel::ApplyDiff"

Reverts bigartm/bigartm#35