Man pleads guilty to armed robbery in murder case