The resignation of Sir Ivan Rogers, the British ambassador to the European Union in Brussels, has raised serious issues not only about Britain's strategy for Brexit but also about relations between officials and politicians and their political advisers.