officials reach deal on trans-pacific partnership