Over $18 million has been paid out to settle workplace disputes involving lawmakers since the 1990s.