Fix LocaleExpander::maximize() to remove Zzzz/ZZ placeholders before matching (#8240)