Militants continue attacks as Pakistanis head to the polls