Enantiomeric-excess determination based on nonreciprocal-transition-induced spectral-line elimination