Underwear and apparel maker Hanesbrands Inc is to stop production at three sewing and assembly operations in the Dominican Republic - a move that will lead to the loss of 1,400 jobs.