Avelar pleads guilty to murder as part of plea bargain agree