Iraqis have been voting in a parliamentary election which is being held early in response to mass protests.