KKR's Masonite Reaches Restructuring Deal