Kunstmuseum Basel agrees to settlement involving Nazi era works