Chidambaram regrets faux pas by senior law officer in SC on gay sex