Constitution does not require Federal Judges be lawyers. Same goes for Supreme Court Justices.
It looks to me like the Judge dismissed the federal law count with prejudice, and dismissed all the state law counts without prejudice so he can re-file in state court.
Whether rightly or wrongly, I have no idea.