SERVER-14738 Correctly determine if update w/ text index is in-place

(cherry picked from commit 1f00ffcd22e671f5adeece53c68b5e462ba01ec0)