Around 6,000 Indonesian textile workers have been laid off this year, figures show, amid rising production costs and declining domestic sales.