Replace the lesson
When teacher is absent, you can skip his lesson, and replace it with another one, which class has that exat day or in the other day in week.
Then the class will has less lessons this day and students can go home earlier.
Move the lesson
Swap the lesons