Weyerhaeuser wins cost dispute over mill