Wis. judge to look at how anti-union law was passed