As I understand the deal is contingent on an analysis of Merrill's balance sheet. So if Merrill is an empty shell, BofA gets to walk away.
The plan seems to be that there's still some real value there, somewhere.
Also, big boss of BofA seems to enjoy shopping.