Calif. judge strikes down marriage law