A federal judge in Washington lifted a preliminary injunction yesterday and told the Pentagon that it may resume a program of mandatory anthrax inoculations for all U.S. service members except six plaintiffs in a lawsuit challenging the legality of the government’s anthrax vaccine.