Adidas announced an agreement Wednesday that may put to rest an ongoing dispute with a group of Indonesian factory workers who lost pay when the factory owner closed the plant and fled the country.