Exchange-driven dimerization, magnetism, and insulating state in diamond (111)