Had the same problem with phone just stays black with white LED. I managed it by flashing Lineage and gapps again over the setup you discribed without wiping dalvik afterwards. It boots and magisk is also working. Maybe it's worth a try before wiping everything ;) Btw. i used the magisk beta ZIP...