Deconfined criticality and ghost Fermi surfaces at the onset of antiferromagnetism in a metal