How Do Schools Get Rid of Incompetent Teachers?