You have to format data typing yes, i recomend make a backup of your pictures music....
And not format system......
You can try too format data by taping yes and then format system, wipe factory reset and then try install miui 10
If that not solve you need to flash rom 9.6 by miflashtool ->...