Swiss private bank Julius Bär says it has finalized an agreement with US authorities, paying $547 million to end a criminal investigation into claims that it helped rich Americans dodge taxes.