This only affects a small window of passports I believe - those issued between 9.5 and 10 years ago, so your friend is rather unfortunate in the timing. Most folk would probably want a few months left on the document.
Also, the US are cancelling ESTAs based on the issue date of the passport, not whether they are actually the new passports or not.
All a bit messy tbh...