MPs have voted for an amendment enabling them to take control of Commons business and stage a series of "indicative" votes on the way forward for Brexit.