Michael Saylor, founder of the tech company MicroStrategy and an outspoken supporter of Bitcoin, has settled a lawsuit accusing him of tax avoidance for $40 million.