Court grants bail to accused in foiled plan to kill Salman Khan near farmhouse