The payments, part of a settlement with the New York attorney general’s office over a practice that ended in 2019, will return as much as $14,000 to some workers.