A settlement provides a massive windfall for Arbutus and Roivant and avoids a worst-case scenario for Moderna.