Allan Marshall was on remand at HMP Edinburgh in 2015 when he was restrained face down by up to 17 prison officers.