Edward Snowden agrees to asylum in Venezuela, top lawmaker