Fix patth repeated duplication error in VML renderer, fixes #16830

This is a set of fixes for some minor IE8/VML bugs that cause problems when serializing out the VML surface into either JSON, or into SVG.  Both fixes have been available for a while, so I am going to commit them into trunk and resolve this bug.