Engine problem robs Lorenzo of pole