Dawood Ibrahim's alleged aide Khalil Ahmed granted bail