Remove unused licenses.