A joint committee of MPs will question the prime minister’s former adviser on lessons to be learnt.