Update katex, make perseus clear the katex node

Auditors: alpert