Amid violence, Syria to hold elections