I tried running the magisk module and it didn't change the status (i.e. /proc/cmdline still shows "orange"). Have you checked Lineage toybox's sed doesn't do anything weird?
Running Lineage OS 15.1 on OnePlus 3T, Magisk 16
Running Lineage OS 15.1 on OnePlus 3T, Magisk 16