Police: Tempe judge admits stabbing wife 10 times