Hyderabad did have an army, a reasonably good one, 20,000 strong with artillery, armor and so on, but they still couldn't protect the state.
For that to happen partition has to be less bloody, Punjab was the worst affected state during the partition and after such bloodshed it's unlikely...