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

(backport of 1f00ffcd22e671f5adeece53c68b5e462ba01ec0)