Venezuela’s acting president signs into law amnesty measure that could free hundreds detained for political reasons