fix the order of setns()

You cannot attach to namespaces in random order.
If you enter the mnt namespace before pid your procfs will go nuts.
Note that readdir() doesn't guarantee any ordering.
One nice property of the previous implementation was that we did not try to join non-existent namespace types. Can we not fail here if the file doesn't exist?