Real estate lawsuit settlement upends decadeslong policies that helped set agent commissions