Foreigner accidentally allowed to vote in Japanese election, ballot will remain valid