A week after Gov. Scott Walker signed a bill stripping public union workers of their collective-bargaining rights—prompting massive protests—a Wisconsin judge issued a temporary restraining order blocking the law from taking effect.