[css-writing-modes] Tighten up compression algorithm using jdaggett's recommendations to avoid bad results.