Mining giant BHP has lost a legal bid to restrict non-Australian shareholders and those who hold their interest through foreign exchanges from joining a class action lawsuit in Australia’s Federal Court over the deadly Samarco dam collapse in 2015.