EU referendum: Jeremy Corbyn vows to fight for leadership and reshape cabinet