A bill requiring California prosecutors to erase or reduce tens of thousands of marijuana criminal convictions was approved by the state Legislature on Wednesday. Now it waits for the governor’s signature.