Ram Rahim planned to escape from court:The police