Chrystia Freeland resigns, had committed to a deficit no larger than $40.1 billion