bash: prevent dup entries in PATH using consistent env var comparison