A federal judge in California on Monday dealt a setback to a new Trump administration rule that sought to block almost all asylum applications at the border, ruling that an injunction against the rule should apply nationwide.