Gov. Perry deflects blame for teacher layoffs