simulating a electrical transformer
If the coupling is perfect then M = L1 = L2 i.e. the model you are using has coupling inbuilt into the formulas so you can't mathematically do what you are wanting to do.

L1 is the total inductance looking into the primary and this equals magnetization inductance + leakage inductance so M cannot be bigger than L1 and therefore L1-M cannot be negative.