Twitter, which has assiduously branded itself as an advocate of free speech, has agreed to identify several users who posted anti-Semitic comments on its service, and whom French authorities are seeking to prosecute for violating that country’s anti-hate laws.