Reference distribution functions for magnetically confined plasmas from the minimum entropy production theorem and the MaxEnt principle, subject to the scale-invariant restrictions