A U.S. court has approved a settlement that ends a class action brought against the World Bank's lending arm for financing a company that allegedly terrorized local families in Honduras to expand its palm oil operations.