Beset by economic and security issues, Pakistanis cast pivotal votes