test: fix failing IE test by working around non-standard "unlink" behavior

This warrants an UnlinkCommand most likely, to normalize this behavior
in IE. If you have a partially selected A node, then the "unlink" command
should only remove the link from the selected portion. However, IE
seems to always remove the closest A node entirely.