A Brazilian court has suspended plans to dismantle an Amazonian national reserve twice the size of New Jersey and open the area up to mining.