Strip duplicate displaystyle attribute returned by mathjax

Duplicate attributes are invalid XML, so this is a mathjax bug.

Change-Id: I5a9e77ccd293df9bad4ffaa3e4e8a389913b60e7