Laying used laminate floating floor
The fact that the laminate was soaked with water caused it to swell. Drying it won't allow it to contract completely. Add to that the flooring was laid on concrete. Was there a vapor barrier between the concrete and the laminate? If not then the flooring had been drawing moisture from the concrete for a long time before the water leak. You are lucky you were able to disassemble the flooring without destroying it. As for trimming the lip. This will help reassembly. However, it probably won't hold together as well. My suggestion would be to scrap replacing the laminate and go purchase some LVT (Luxury Vinyl Tile, also known as LVF, Luxury Vinyl Flooring). It's more durable over time and also water proof. Hope this helps.