3 top officials shot dead by guards ahead of Afghan vote