Just hours before the vote, militant fighters raided a prison in Diffa, southeast Niger, but were repelled.