Minn. official: Madoff losses could cost state