Thailand to allow refugees to work amid aid cuts, labor shortages