Trump administration, state of Maine settle lawsuit concerning frozen funds