LPS-47852

- Restored missing validation of commit https://github.com/liferay/liferay-portal/commit/26c0a205d30b5c8926380af394cd1045613fb8b2 from LPS-24049 removed by commit https://github.com/liferay/liferay-portal/commit/380f4ebe466bfbb8c20463d7715af16a66d25968
- Restored JUnit tests of commit https://github.com/liferay/liferay-portal/commit/85ad9a54045fc057caa49280c2a514cecac50b9b that were also removed at same commit
- Created new verify process to fix invalid duplicate titles