Prevent double updates of DirtySR
Prevent double updates of DirtySR

The same field can't appear twice in the same update operation in
Mongo without throwing an exception. It seems this behavior
changed in Mongo 3.6. This change prevents setting DirtySR  in
UpdateDefinition if we set it later.

(cherry picked from commit d21f92b054375842c2d564040103251c4c67bee5)

ermshiperete/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge