Insurgents have been increasingly attacking Iraqi policemen and soldiers , who have taken a larger role in trying to stabilize the country in recent months .