One of the UK’s largest banks, Standard Chartered, has lent $680m (£448m) to a company building one of the biggest coal mines in the world, according to legal testimony that casts doubt over the ba