Dehalogenation and coupling of a polycyclic hydrocarbon on an atomically thin insulator