Parliament backs legislation to tighten executive control after series of moves targeting anti-corruption campaigners