Bolivia settles with foreign companies as elections approach [updated]