A federal judge who raised concerns more than a decade ago about how ethics complaints against Supreme Court Justice Clarence Thomas were handled testified Wednesday in the US Senate, sharing new details about the events, including Chief Justice John Roberts’s role.