Judge endorses use of fraud law against Bank of America