A nine-month dispute at a Turkish supplier of handbags and purses for the British luxury brand Mulberry has come to an end after the factory agreed to allow workers to organise a union.