Chief justice of Minnesota Supreme Court to resign