Boston law firm Davis, Malm & D’Agostine is suing Merrill Lynch in Massachusetts state court, alleging that Merrill’s predecessor company failed to tell the firm that it had agreed to a redevelopment agency’s $50,000 legal fee cap for a bond issue.