In a widely watched case regarding the ability of public colleges to award domestic-partner benefits, a judge in Ohio has dismissed a lawsuit in which a state lawmaker contended that Miami University was violating a 2004 law banning same-sex marriage by making those benefits available.