I'm not a tax professional but this hardly seems necessary. Have you consulted with a tax professional to confirm that this is all necessary? How much of a difference does it actually make, i.e. how much tax do you actually pay to MI?

See my answer in https://news.ycombinator.com/item?id=43687920 .

In terms of the amount of tax to MI, it's not a whole lot. A couple hundred dollars. And it doesn't change my total taxes paid, because I get a tax credit for that against my CA taxes. MI's tax rate is lower than CA's.