Accusations of reverse discrimination against the coffee giant end in a payout to the state and new constraints on hiring practices at stores throughout the country.