well, i had the same problem on mi8, cant add any fingerprint but i already solve the problem!
i did this and worked for me 100%
1º enter TWRP
2º Go to this path and delete those files :
/data/system and delete locksettings.db
/data/system/user/0 and delete settings_fingerprint.xml
3º Reboot...