A federal judge has approved an $11.2 million settlement between the marital infidelity website Ashley Madison and users who sued after hackers released personal information, including financial data and details of their sexual proclivities.