New IRS rule thwarts tax workarounds