The UK must deepen ties with the EU and not ‘surrender’ control by turning inwards, the Prime Minister will say in Munich.