The Taoiseach has told the Dáil that legislation for a defect redress scheme will be published early next year.