Build: Replace HTMLMin with HTMLCompressor

Adds a Java dependency, but is currently more robust than HTMLMin.
Fixes gh-3382