It could have been oh-so costly for the Pramac rider, but he pulled off a super save to ensure he scored a P3 finish at the German GP