Iraqi violence may restrict elections