Wyoming bill allows takeover of national parks in shutdown