Critical endpoint for deconfinement in matrix and other effective models