The new law is applicable to Resident Visas granted after 18-12-2016. 2 years ban is still applicable to RP's before 17-12-2016. Under the new ban is 4 years if you break the Contract before its expiry.

This is my understanding of the new labour Law.