Often, local government units suspend classes to please constituents without fully weighing the long-term consequences. It’s time for officials to separate politics from education policies