Judge dismisses lawsuit over Wyoming coal leases