Union Bank's deal to buy Pacific Capital is making the U.S. Treasury's decision to a quick write-down on its investment in the target on look like a shrewd choice.