you are fine. They cap your CC units at 70, then will add on the 3 units from Cal to give you a total of 73. See http://admission.universityofcalifornia.edu/counselors/transfer/advising/transferring-credits/index.html
And you don’t exactly lose those other 22 units. They count in every way except towards the total units you need to graduate from your UC, for which your starting point is 73.