Liz Truss is resigning after just 44 days in office amid political and economic chaos, but will remain in the position until a successor is named.