Magnachip, whose shares declined 1.8% at $16.81 in extended trading, will get a termination fee of $70.2 million, according to a joint statement