Lawmakers vote to eliminate cash bail