BBC Director-General Entwistle resigns