Man, 22, pleads guilty to girlfriend's murder