More than 1,200 Indian workers at H&M garment supplier Gokaldas Exports are to be rehired after an eight-month campaign by unions.