You just have to let it continue with the installation. It's running on background. I had exactly the same problem since the devs included TWRP in the new releases but the installation works perfectly.
You have to wait several minutes, it will reboot and the install will continue on the Miui...