Venezuela legislature passes amnesty bill