The prime minister has released a report from the Solicitor-General on former Prime Minister Scott Morrison's secret ministries.