Jack Miller was forced to improvise when a braking problem left him vulnerable in the final laps of the Czech MotoGP.