Linking salary to metrics like "Velocity" or "Lines of Code" is the fastest way to destroy a culture. Here is how to measure performance without creating a feature factory.