Green Plains to idle Minnesota ethanol plant amid weak margins