And as pg mentioned, the fact that the code is free for (implicitly) any use whatsoever means that the code could be used in proprietary software without issue, and thus the code isn't free.
Was RMS opposed to the book, the code, or both? I suspect both, and since it appears that he quickly recognized the book, he had probably already contemplated his opposition to it at some prior time.
His behavior in this situation surely would strike most as odd, but he seems to just be living by his ideals as much as possible. You may not see non-free reference books or non-free software as unethical, but he does, and wants no positive connection with it.
On a different note: there's is no reason to call him names for not signing ACL, he just takes a principled stand. Why should he sign it anyway? If I had a copy of ACL (yes, I am poor) I wouldn't want anybody but pg to sign it.
I wonder if the problem is that just saying people can do whatever they want with code seems to him too unrestrictive.
I doubt it. Both the MIT and BSD licenses are listed as 'free software' licenses on the FSF website: http://www.fsf.org/licensing/licenses/
Curiouser and curiouser.