Migdal-Kadanoff study of Z4 symmetric systems with generalized action