Police say a man arrested in connection with an explosion at an Exeter restaurant had a "history of mental illness".