Another Question about reporting the Sale of an MLP in Turbotax

I'm very thankful that some folks are willing to help with these issues.  

 

I purchased units an MLP (Magellan) in 4 lots in about 8 years ago.  When Magellan announced it was going to merge I sold all the units in 2023.  They are reported on my brokerage 1099B with box E checked.

 

Using some clues I found in other MLP threads, I followed the K-1 dialog and selected "Disposed of a portion of my interest" and then Sold Partnership Interest.  I'm only given one box for Purchase and Sale date.  I used the sales price from my brokerage 1099B and Partnership Basis (Regular and AMT) and Ordinary Gain from the Sales Schedule included in the K-1 Package.  A correct 8949 and 4797 were generated, but the 8949  has box F checked (not reported on 1099B) and the 8949 from the 1099B is still there, so I seem to be paying on the gain twice.  And the Sales Schedule says the amount of the ordinary gain is considered Qualifying PTP income for section 199A.  However, the 20Z amount is a small loss, while the large gain is listed as 20AB Section 751 Gain/(Loss) and is not included in line 13 of form 1040.  Should I prorate the amounts shown on the 3rd copy of 8949 (Box F checked) by the number of units in each lot onto the 2nd copy (Box E) of 8949 and delete the 3rd copy?  And how do I get the ordinary gain counted as PTP income (if I can do that.)  

 

Again, I greatly appreciate your help!