The termination marks a U-turn from a signed definitive agreement announced just four days earlier.