Study questions seniority-based teacher layoffs