Judge rules Mt. Holyoke prof accused of murder attempt