The ministry says schools do not have to force students to redo assignments. If a school wants, it can allow redoing work.
A teacher may let a student redo an assignment. This helps the student improve.
Some schools allow redoing assignments. Some schools do not. Schools make their own rules.
The teacher evaluates the student's work. If the work is poor, the student can redo it.
Schools and teachers decide for themselves. The ministry does not interfere. The teacher has the right to decide.