A federal judge handed a victory to women’s health advocates, saying that the federal government erred when it overruled a panel of scientists who recommended that Plan B One-Step be made available to women of all ages. He gave the government 30 days to change its policies.