Teachers union reaches AI safety agreement with Anthropic Yahoo