Even tax breaks that are supposed to help the middle class too often skew toward the wealthy.