BANGALORE/WASHINGTON (Reuters) - Tech services giant Infosys Ltd agreed on Wednesday to pay $34 million to end a U.S. investigation related to the widespread practice by Indian firms of flying workers to client sites in the United States on temporary visas.