MILESTONE PHARMACEUTICALS INC. THIRD AMENDED & RESTATED REGISTRATION RIGHTS AGREEMENT Dated as of October 15, 2018