Judge rules Twins can leave Metrodome after this season