New legislation curbs patents on tax strategies