what is a settlement