Man accused of fatally stabbing girlfriend in Framingham appears in court for separate case