Those pinions are a firm fit and usually require a firm pull to ease off, so if its managed to shear a pinion will be extremely tight. I wouldnt be looking to do anything but pull on it, you dont want to damage the crank, whereas a pinion is readily sacrificial. Heat, patience and if in doubt escalate and involve a capable engineer rather than causing damage. I think Swarfy had it right, be prepared to sacrifice the pinion gear. Hope to see a picture of the removed parts soon. I am concerned about the state of the crank/keyway there as this is normally a fit and forget part.