A Michigan judge has sided with state employee labor unions that sued the state, saying changes to the funding of the employees' retirement system are unconstitutional.