When the british ended colonial control of south asia in 1947, how was the region divided politically, and how was the region divided ethnically (religiously)?