Emergent symmetry and dimensional reduction at a quantum critical point