Court sends suspected IM terrorist to police custody