Companies that pay employees less fairly to reap short-term gains may sacrifice greater long-term firm value, a new study suggests.