Teachers' union warns of dire consequences if early retirement scheme goes ahead