Pregnant woman beaten in Pakistani jail granted bail