How can legal heirs divide inherited property through a settlement agreement?