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.
Lots of judges are lazy. If they can get a case off their docket, they’ll do it in the hope that some other judge will get stuck with it. I say this based on personal experience.