Directly from the Labor Law.
Article 117
1. Either the employer or the worker may terminate an indefinite term contract for a valid reason at any time following its conclusion, by giving the other party a notice in writing at least 30 days prior to termination.
I am pretty sure that redundancy is a valid reason so Article 117 applies and the termination is therefore not arbitrary.