Man gets 10 years in stabbing death of boyfriend