if table rename fails redis state is wrong

https://github.com/CartoDB/cartodb/issues/1191