Heart specialists' strike ended after pay agreement