R Ashwin reveals the thought process behind sudden retirement