Labour and unions reach agreement on workers’ rights proposals