Despite violence, Pakistanis vote in landmark election