California judge restores federal protection for gray wolves