Fonterra flags loss after Dennington closure