chat template: speed up tool-result validation and reordering (GLM-5.3-Flash)

#2
chat_template.jinja+51-55