3M, Minnesota spar over ousted law firm