A federal judge dismissed the Department of Justice lawsuit against California over transgender athletes competing in girls' sports on procedural grounds.