MPs have voted in favour of allowing a cross-party alliance to take control of the Commons agenda on Wednesday.