Remove extraneous paths for PATH variable