Text this: Defects in magnetic domain walls after single-shot all-optical switching