India court effectively bans madressah in big state before election