N.B. studies minister resigns, writes blistering resignation page up against biggest