MPs have dramatically seized control of the Brexit agenda from Theresa May - potentially paving the way for a "softer" deal that keeps the UK closer to Brussels.