Superior Court judge resigns after arrest