Don't report incorrect line from jinja exception

Jinja reports the wrong line for UndefinedError exceptions, which
results in a misleading comment in the state result. This commit removes
the line number and context string from the comment, leaving just the
error message telling the user which variable is undefined.

Resolves #13408.