ticket:10142: fixes to UBA implementation to make it behave exactly like the reference implementations even for all the known weird cases.

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@34934 251d0590-4201-4cf1-90de-194747b24ca1