[inliner] Completely change (and fix) how the inline cost analysis