Marriage could mean spousal and survivor benefits — but that shouldn’t be the only consideration.