Ex-Trump campaign chief rebuked by judge for public comments