Implosion of Titanic sub which killed Scots uni student was ‘preventable’