It seems like a good solution to H1B abuse is to get rid of the lottery and move towards a bid system, but the "bid" is the foreign worker's salary. This will solve the wage suppression issue, and will grant access to talent to companies that are willing and able to pay for it.
You can also just tax the difference from prevailing wages; take those taxes and earmark them for training of laid off workers of same industry.
A portion ($1500) of most H-1B application fees goes towards funding scholarship and training programs. This is called " ACWIA fee" - see [1] and [2] for details.
[1]: https://en.wikipedia.org/wiki/American_Competitiveness_and_W...
[2]: https://www.uscis.gov/sites/default/files/USCIS/Resources/Re...