The ruling clears a path for a land swap deal that would expand Elon Musk’s Starbase launch site in South Texas.