Indonesia has adopted a new law to protect domestic workers, a major step forward for labor rights in the country.