The Supreme Court's decision to allow same- sex marriage nationwide will remove tax and personal-finance headaches that have bedeviled gay couples.