The election died when Odinga withdrew. Mativo's ruling came after the event. My reading of this is that Odinga caught wind of the ruling and decided to pull out asap. In my view, i suspect Odinga was going to withdraw much later and got caught out.
In any case Mativo could not resurrect the election.