The bill would close a loophole that allows patients to possess the drug but provides no real way to obtain it.