Unions “vindicated” by matric exam rewrite ruling