Matter-parity as a residual gauge symmetry: Probing a theory of cosmological dark matter