Teacher departures leave schools scrambling for substitutes