Removes redundant entries in the PATH environment variable. Uses python.