In Iraq, US troops widen role as soldier-teacher