Retrial for opposition deputy jailed for security leak