It is a truism among legal scholars that the jurisprudence of religious liberty has long been a near-hopeless mess.