Here's my proposal: Step 1: commit this, which adds the collections lib. Step 2, make a patch to cut it out of math and make math depend on it.
Just to fess up, I set this 'patch' up by using svn cp to make a copy of math, and then trimming with svn rm. There's no way to replicate this process with patch. git?