I guess your best bet is to flash the stock ROM then. There are many guides how to do this, this is one of them: https://www.techora.net/flash-samsung-galaxy-s7-using-odin-tool-computer.html
This should recover all partitions.
After flashing stock, you can try flashing /e/ again.