Thomas Gallager, the engineer of the train that crashed into the Hoboken station in New Jersey in September, had a severe case of undiagnosed sleep apnoea, according to his lawyer.