Twitter has acknowledged that a day-long block of one of the New York Times’s accounts was imposed in error.