Use restricted_min_set instead of min_set in layout_update.
min_set is set by public API(user side). if it is changed by internal function,
user will get unexpected value later. please check added test case.
Note that this reverts commit e013480e7a0ae11a9363f9a207cf63e3bb7f5423. instead,
this patch provides better solution of the issue refered in e013480e7.