High street giant Hennes & Mauritz AB (H&M) is set to sign an agreement to secure workers' rights across its worldwide operations.