Pakistan’s lower house of parliament passed a controversial bill that will give the government sweeping controls on social media.