The National Association of Realtors has agreed to pay $418 million and upend how realtors get paid commissions, potentially saving both buyers and sellers money.