Wal-Mart to pay nearly $12M in EEOC sex-discrimination case