Lawsuit: Minn. erred in paying for abortions