Teachers fear losing their livelihoods and students risk being excluded as Baku's close ally appears critical.