A federal judge halted the trial of Zacarias Moussaoui yesterday and threatened to remove the death penalty as a possible sentence for the Sept. 11 conspirator after a veteran government aviation lawyer improperly shared testimony and communicated with witnesses.