BofA wins dismissal of two lawsuits over Merrill