Trump-appointed judge resigns from judiciary group over ‘merely sanctimonious’ statement on threats