Hundreds of women who worked at BHP and Rio Tinto will be contacted as part of a lawsuit over alleged incidents at mining sites.