Judge blocks voter-approved ethics law