Whole Foods has agreed to pay $500,000 to settle accusations by New York authorities that it routinely overcharged customers. The…