Facebook says it has a tool to detect bias in its artificial intelligence