I wouldn’t try to recover from that state, a proper fresh install makes more sense.
Follow the LineageOS install instructions but with your LOS4microG files. Afterwards install the Magisk app, take the los4microg-boot.img
and follow the regular rooting instructions:
Oh and welcome to the community
2 Likes