Fix short numbers formatting for ja, ko, af, etc.

Fixes for short numbers formatting when:
 1. the pattern is missing – the format string is "0"
 2. the pattern uses 'ten thousands' for abbreviation (e.g., the pattern is "0000")