A change to R&D tax rules means that a tech company could lose more than $1 million — but still be on the hook for hundreds of thousands in taxes.