You said that you used a 2^(7-4) regular fractional factorial design. This design is for the main effects model for 7 factors in 8 runs. You included 3 center points for a total of 11 runs. Your analysis shows that you have 19 runs so you either used a 2^(7-3) design or you replicated the 2^(7-4) design.
The DF for the LOF test are the same as the DF for the error SS in the AN0VA table. (Error DF = 13 in the first regression analysis.) The DF for the pure error are 1 less than the number of replicates. (Pure error DF = 1 DF for from each replicate FF design point + 2 DF from the replicate center points = 10.) The DF for the LOF is the difference between the two DF. (LOF DF = 13 - 10 = 3.) For the second case with just 2 main effects, the error DF = 16, pure error DF = 14, and LOF DF = 2.
As I said before, JMP is using all the DF not used by the model in an omnibus LOF test (any LOF). On the other hand, MINITAB is using more than one F-test for specific LOF components. They are different hypothesis tests so you can't expect them to be the same.
It is unfortunate, too, that JMP uses then opposite labeling for LOF terms than MINITAB. That is due to JMPs heritage from SAS. It adds to the initial confusion when comparing results across the two softwares.