This is irrelevant when the country was divided it was divided into a secular india and islamic pakistan so those hindu staying back knew that islam is the religion of state and then decided. If at that time india was to declare it as hindu state then probably u can point fingers at pakistan