Minnesota deputy resigns after ‘shooting up’ cabin, burning