Striking workers at an Arla Foods milk powder factory in Denmark have returned to work after agreeing to a change in shift patterns.