Non-workers....simply follow the laws which prohibit welfare to illegals. Except for life threatening humanitarian healthcare, illegals should not receive food stamps, driver’s licenses, general welfare benefits, etc.
This will be the difficult part because many bleeding heart types will give sanctuary to illegals. So it will require passing laws which make it illegal to give aid and comfort to illegals.
See: "LePage, illegal aliens, welfare"