Man pleads guilty to second-degree murder of live-in girlfriend