simplify gr1c._create_machine_ports
set state variables loc, eloc of Mealy strategy