Congrats. Lucky you. Absolutely wait for layoff
Don't listen to those misleading ideas. Money talks.
Definitely let them lay you off with the package --- nothing to lose even without package.
But make sure your start date on the new job is AFTER the layoff date. O/W, you will have a problem.