Robust semiclassical internal model based regulation for a class of hybrid linear systems