Bring up to current p6 spec.

This patch does not getting Algorithm::Diff working, but it does fix three glaring errors in the code -- things that may have once worked on earlier versions of p6, but no longer do today.