Answering your question isn't simple. I foremost think about how the lawmaking process itself could be changed to make it significantly harder to create superficial laws: the type of laws that interfere with consenting people; the type of laws largely responsible for so many prison economies and victimless "crimes." This doesn't answer your question. This is to say that it's a good question and it should be thought about.
At least for the latter there are regulations in place in the taxi market here in Europe.
Finally citizens can decide. Vote for politicians which going to make change injust law (or what we see as injust). This works at least sometimes. Homosexuality was a criminal offense in most countries forty years ago.
Because people are terrible at assessing risk and would chose cheaper cabs rather than insured cabs.