Man sentenced to 10 years in plea deal in murder case