Molecular dynamics simulation of the role of dislocations in microcrack healing