Seems you still have access to TWRP correct?
I would then load into it, under advanced, go to sideload. Connect it to a computer with a functioning adb and sideload the zip of the rom you want to flash over.
teamw.in /ADBSideload (that's a URL, I can't put them in posts yet, too new)
I have saved a phone in a similar situation this exact way.
Hope this helps.