The election was being held to replace provincial lawmaker Raza Haider from the Muttahida Quami Movement ( MQM ) , who was gunned down in August .