Bristol City suffered defeat at Burnley as Zian Flemming’s first-half free-kick proved the difference between the two sides.