Gina Rinehart knew Hope Downs iron ore mines were a partnership deal, WA Supreme Court told