A $2bn class action lawsuit filed by victims of the collapsed Rana Plaza factory building in Bangladesh against Canadian retailer Loblaws has been dismissed by the Supreme Court of Canada.