Trump and Ryan are right to tackle corporate taxes but their approach would do harm