An inquest found restrictive terrorism controls had a substantial impact on Akhtar Uddin's mental state before his death at HMP Wandsworth.