Learning Skills to Patch Plans Based on Inaccurate Models