The only real answer to this is to eliminate "marriage" licenses and replace them with partnership contracts. If a couple wants to have a religious marriage ceremony, go for it, but it will be meaningless to the government. A partnership contract can be between any two or more humans that agree to share all income, debt, and tax liability.