Turkey softens terror law that jailed young Kurds