Court orders B.C. to fix mineral tenure system after First N