It appears that your back up of the primary rom has been corrupted or changed, thus not allowing the restore to function. This happened to me once and this is what I did. In safestrap, under the safeboot menu, i did the quick Toggle safe system. I believe this will disable the safe system, but bc your backup has been corrupted, when you reboot, it's just gonna boot loop. so after it disables, you're gonna have to wipe everything and reinstall the rom. You'll have to start over, but at least it's not bricked. I can't guarantee thats going to work, but i've done it that way before.