Ex-soldier stabbed wife to death after car MOT row, court hears