I have a TOG theory
Maybe Mala lives on inside Aelin, granting her such powerful fire power. We already saw what happened when she used the moonfire in Empire of Storms. If Mala herself dies, then both Aelin and Dorian will be safe. If course this would leave Aelin without her fire, but maybe that’s why Sarah started to include Aelin’s water magic in the last book.