Catalonia's assembly is due to choose a new regional president after Artur Mas stepped down and pro-independence parties reached an…