SERVER-8921 Change error condition for invalid text index spec