Remove redundant info from target aliases.