Modification of Eckart theory of relativistic dissipative fluid dynamics by introducing extended matching conditions