Erdogan praises judiciary's positive role post-coup bid