Judge blocks marriage law, says requiring birth certificates