The /persist partition should be restored now and you can reboot your device now, everything should be working fine. If there are still some problems, then wipe your device and flash official fastboot ROM.
Download working persist.img partition file for Xiaomi Mi A1: persist.img
Did you stuck with bricked Mi A1? Did this solution worked for you or you’ve found another way on how to restore your device? Remember to share your solution in the comments below.