Second judge rules against Trump administration’s plans to lease areas of ocean floor and survey for mining.