The government adopted a law that might prove a significant step toward ending an outlawed group’s decades-long battle with the Turkish state.