On paper, perhaps, but I don't think you are considering the wailing and gnashing of teeth that would come along with making this bad team worse but replacing Kendrick with someone whose career OPS is 200 points lower.
I like your thinking (take advantage of some other team's need), but Kendrick would bring back a B grade prospect, and the Phils already have a traffic jam in the minors. Now, it would be interesting to speculate what Toronto might offer for Hernández if he wasn't injured.