Spain appeases Catalans with planned reform of sedition law