Some teachers say it’s better to figure out where AI fits in than to ban it. Here’s how they are using it.