The Chief Executive of the the shipyard at the centre of the controversial CalMac Ferry fiasco has resigned from his position.