Internal function to trade off one trait against another (used when assigning randomly generated strain traits)