Hundreds of people protested the decision by Rio de Janeiro's State legislature to vote for release of three members of the body who had been jailed in a corruption investigation.