Biffa Waste Services was suing the Scottish Government for £51.1m in compensation after plans for a deposit return scheme were scrapped.