An eyewitness has described the panic after a failed Syrian asylum seeker blew himself up in the German town of Ansbach.