Judge: Army GI in WikiLeaks illegally punished