North Korea fires ballistic missile ahead of South’s election