Rangers arrest 40 people during Karachi operation