Extraction and validation of a new set of CMS PYTHIA8 tunes from underlying-event measurements