Judge stays most of Ohio gay marriage ruling