SERVER-14892 Fix memory leak in MatchExpressionParser::_parseElemMatch

(cherry picked from commit cc80c4d9a0556926a3f3fa9556c95ffd56aa4814)