The solution is simple. Make the application a silent auction. Unfortunately, any mention of reforming this nonsense is met with 'xenophobic' and 'racist' accusations.
The legitimate users of the H1B program are really looking for specialized skills and hard-to-find talent. Especially for software, it's not even cheaper to hire qualified candidates from abroad...