House passes bill allowing performance consideration in teacher layoffs