Fix regression causing retraction restarts to ignore extrusion_axis. Includes regression test. #1547