The court said the state Department of Natural Resources should have set a fixed period for the permit to mine, rather than leaving it open-ended.