Bug 71906: Improve displaystyle stripping

This turned out to be another invalid XML issue, again caused by duplicate
displaystyle attributes. Make sure we strip them globally, and anchor them to
mstyle tags.

Change-Id: I45e00b2adf5c28e1b1481284b061f7f3a551c8b5